<link rel="stylesheet" href="templates/system/rootOrgSet/css/rootOrgSet.css" />
<div class="pd14 vany_authority">
	<div class="vany_treeTable pd14" id="authority">
		<!--面包屑-->
		<div class="pb10" id="crumbs">
			<el-breadcrumb separator="/">
				<el-breadcrumb-item :to="{ path: '/' }">系统设置</el-breadcrumb-item>
				<el-breadcrumb-item>安装向导</el-breadcrumb-item>
			</el-breadcrumb>
		</div>
		
		<div id="rootOrgSet">
			<div class="grid-content bg-purple">
				
				<el-form :model="initForm" :rules="rules" ref="initForm" label-width="100px" class="demo-ruleForm">
					<el-form-item label="组织机构:" prop="orgName">
						<el-input :maxlength="20" v-model="initForm.orgName" @input="descInput" placeholder="请输入机构名称"></el-input>
						<span class="fontNumber">{{initForm.remnantInput}}/20</span>
					</el-form-item>
					<el-form-item label="管理员账号:" prop="userAccount">
						<el-input :maxlength="20" v-model="initForm.userAccount"  placeholder="请输入管理员账号"></el-input>
						
					</el-form-item>
					<el-form-item label="管理员密码:" prop="userPassword">
						<el-input :maxlength="20" v-model="initForm.userPassword" type="password"  ></el-input>
						
					</el-form-item>
					<el-form-item label="确认密码:" prop="userPassword1">
						<el-input :maxlength="20" v-model="initForm.userPassword1" type="password"  ></el-input>
						
					</el-form-item>
					<el-form-item label="管理员邮箱:" prop="userEmail">
						<el-input :maxlength="20" v-model="initForm.userEmail"  placeholder="请输入管理员邮箱"></el-input>
						
					</el-form-item>
					<el-form-item>
						<el-button type="primary" @click="submitForm('initForm')">确定</el-button>
					</el-form-item>
				</el-form>
					
				
				<!--提交信息-->
				<el-dialog title="提示" :visible.sync="dialogVisible" size="tiny" class="title_dialog">
					<span>确定初始化系统吗？</span>
					<p>系统只能初始化一次</p>
					<span slot="footer" class="dialog-footer">
						<el-button type="primary" @click="tijiao(true)">确 定</el-button>
						<el-button @click="tijiao(false)">取 消</el-button>
					</span>
				</el-dialog>
				
				<el-dialog title="提示" :visible.sync="dialogVisibleLogin" size="tiny" class="title_dialog">
					<span>确定初始化系统吗？</span>
					<p>系统只能初始化一次</p>
					<span slot="footer" class="dialog-footer">
						<el-button type="primary" @click="returnLogin()">确 定</el-button>
					</span>
				</el-dialog>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript" src="templates/system/rootOrgSet/js/rootOrgSet.js?ts=new Date().getTime()"></script>